<!DOCTYPE html>
<!--[if IE 8]> <html lang="en" class="ie8"> <![endif]-->
<!--[if IE 9]> <html lang="en" class="ie9"> <![endif]-->
<!--[if !IE]><!--> <html lang="en"> <!--<![endif]-->
<!-- BEGIN HEAD -->
<head>
   <meta charset="utf-8" />
   <title>Metro Lab</title>
   <meta content="width=device-width, initial-scale=1.0" name="viewport" />
   <meta content="" name="description" />
   <meta content="Mosaddek" name="author" />
   <link href="{$meta}assets/bootstrap/css/bootstrap.min.css" rel="stylesheet" />
   <link href="{$meta}assets/bootstrap/css/bootstrap-responsive.min.css" rel="stylesheet" />
   <link href="{$meta}assets/bootstrap/css/bootstrap-fileupload.css" rel="stylesheet" />
   <link href="{$meta}assets/font-awesome/css/font-awesome.css" rel="stylesheet" />
   <link href="{$meta}css/style.css" rel="stylesheet" />
   <link href="{$meta}css/style-responsive.css" rel="stylesheet" />
   <link href="{$meta}css/style-default.css" rel="stylesheet" id="style_color" />
   <link href="{$meta}assets/fullcalendar/fullcalendar/bootstrap-fullcalendar.css" rel="stylesheet" />
   <link href="{$meta}assets/jquery-easy-pie-chart/jquery.easy-pie-chart.css" rel="stylesheet" type="text/css" media="screen"/>
   					<link href='{$smarty.const.base_admin}libs/select2/select2.css' rel='stylesheet'/>
			<script src='{$smarty.const.base_admin}libs/select2/jquery-1.7.1.min.js'></script>
			 <script src='{$smarty.const.base_admin}libs/select2/select2.js'></script>
</head>
<!-- END HEAD -->
<!-- BEGIN BODY -->
<body class="fixed-top">
   <!-- BEGIN HEADER -->
   <div id="header" class="navbar navbar-inverse navbar-fixed-top">
      {php file='./modules/header.php'}
   </div>
   <!-- END HEADER -->
   <!-- BEGIN CONTAINER -->
   <div id="container" class="row-fluid">
      <!-- BEGIN SIDEBAR -->
      <div class="sidebar-scroll">
        <div id="sidebar" class="nav-collapse collapse">

         <!-- BEGIN RESPONSIVE QUICK SEARCH FORM -->
         <div class="navbar-inverse">
            <form class="navbar-search visible-phone">
               <input type="text" class="search-query" placeholder="Search" />
            </form>
         </div>
         <!-- END RESPONSIVE QUICK SEARCH FORM -->
         <!-- BEGIN SIDEBAR MENU -->
          {php file='./modules/adminmenu.php'}
         <!-- END SIDEBAR MENU -->
      </div>
      </div>
      <!-- END SIDEBAR -->
      <!-- BEGIN PAGE -->  
      <div id="main-content">
	  {php file=$page}
      </div>
      <!-- END PAGE -->  
   </div>
   <!-- END CONTAINER -->

   <!-- BEGIN FOOTER -->
   <div id="footer">
       2013 &copy; Metro Lab Dashboard.
   </div>
   <!-- END FOOTER -->

   <!-- BEGIN JAVASCRIPTS -->
   <!-- Load javascripts at bottom, this will reduce page load time -->
   <script src="{$meta}js/jquery-1.8.3.min.js"></script>
   <script src="{$meta}js/jquery.nicescroll.js" type="text/javascript"></script>
   <script type="text/javascript" src="{$meta}assets/jquery-slimscroll/jquery-ui-1.9.2.custom.min.js"></script>
   <script type="text/javascript" src="{$meta}assets/jquery-slimscroll/jquery.slimscroll.min.js"></script>
   <script src="{$meta}assets/fullcalendar/fullcalendar/fullcalendar.min.js"></script>
   <script src="{$meta}assets/bootstrap/js/bootstrap.min.js"></script>

   <!-- ie8 fixes -->
   <!--[if lt IE 9]>
   <script src="js/excanvas.js"></script>
   <script src="js/respond.js"></script>
   <![endif]-->

   <script src="{$meta}assets/jquery-easy-pie-chart/jquery.easy-pie-chart.js" type="text/javascript"></script>
   <script src="{$meta}js/jquery.sparkline.js" type="text/javascript"></script>
   <script src="{$meta}assets/chart-master/Chart.js"></script>

   <!--common script for all pages-->
   <script src="{$meta}js/common-scripts.js"></script>

   <!--script for this page only-->

   <script src="{$meta}js/easy-pie-chart.js"></script>
   <script src="{$meta}js/sparkline-chart.js"></script>
   <script src="{$meta}js/home-page-calender.js"></script>
   <script src="{$meta}js/chartjs.js"></script>

   <!-- END JAVASCRIPTS -->   
</body>
<!-- END BODY -->
</html>